<!DOCTYPE html>
<html>
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>积分列表</title>
<style>
A{
color: #333;
}

</style>
<script type="text/javascript">
$().ready(function() {
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "积分列表_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>会员管理</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>积分列表</span></a>
      </div>
    </div>
    	
      <!--搜索框-->
         <form action="${basePath}manager/ScoreRecord_scoreRecordListPage" id="select_form"  method="GET"> 
        	
         	<div class="searchBox fl">
        		<span class=" searchTitle">手机号码:</span> 
          		<input class="search_text" type="text" name="customerPhoneNum" placeholder="请输入关键字 " value="${(requestVo.customerPhoneNum)!''}"/> 
            </div>
            <div class="searchBox fl">
        		<span class=" searchTitle">姓名:</span> 
          		<input class="search_text" type="text" name="customerName" placeholder="请输入关键字 " value="${(requestVo.customerName)!''}"/> 
            </div> 
             <div class="searchBox fl">
        		<span class=" searchTitle">订单号:</span> 
          		<input class="search_text" type="text" name="purchaseSaleOutOrderNumber" placeholder="请输入关键字 " value="${(requestVo.purchaseSaleOutOrderNumber)!''}"/> 
            </div>  
            
            <a href="javascript:void(0);" id="search_button" class="search_btn fl" align="center"><span >搜索</span></a> 

        </form>

        
        <#--
    private Long scoreRecordId;
    private Long shopCustomerId; 
    private Integer recordType;  //记录类型  1.订单  2.手动
    private String  useWay;      //事件描述
    private String  recordReMarks;  //备注
    private Integer useType;     //使用类型   1 账户加积分(+) 2：账户扣积分(-)
    private Integer scoreValue;//
    private Integer recordStatus; //状态   1.未处理  2.成功  3.失败   4.退回
   
    
    private Long purchaseSaleOrderId;//订单id
    private String purchaseSaleOutOrderNumber; //外部订单号
    private String purchaseSaleOrderNumber;
    
    private String ip; 
    
    private String customerName;//姓名
    private String customerPhoneNum;//手机号码 
        -->
       
        <div class="clear"></div>  
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
             <tr id="gl">		 
             <td>姓名</td>
             <td>手机号码 </td>
             <td>记录类型</td> 
             <td>外部订单号</td>
              <td>状态</td>
             
             <td>事件描述</td>
             <td>备注</td>
             
             <td>积分</td>
             </tr>
            <#if (pager.list??)> 
           <#if ((pager.list?size)>0)>
           <#list pager.list as scoreRecord>
     		<tr> 
          	 <td>${scoreRecord.customerName!''}</td> 
             <td>${scoreRecord.customerPhoneNum!''}</td> 
              <td><#if scoreRecord.recordType==1>订单<#elseif scoreRecord.recordType==2>手动</#if></td>
             <td>${scoreRecord.purchaseSaleOutOrderNumber!''}</td>   
              <td><#if scoreRecord.recordStatus==1>未处理<#elseif scoreRecord.recordStatus==2>成功
              <#elseif scoreRecord.recordStatus==3>失败<#elseif scoreRecord.recordStatus==4>退回</#if></td>
              
             <td>${scoreRecord.useWay!''}</td>
             <td>${scoreRecord.recordReMarks!''}</td>
             <td><#if scoreRecord.useType==1>+${(scoreRecord.scoreValue?c)!''}<#elseif scoreRecord.useType==2>-${(scoreRecord.scoreValue?c)!''}<#elseif scoreRecord.useType==0>未知:${(scoreRecord.scoreValue?c)!''}</#if></td>
             
             
           <#--   <td class="tbl_btn" >
             
                <a href="${basePath}manager/ShopClerk_shopClerkInfo?shopClerkId=${(shopClerk.id)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>
                <a href="javascript:void(0);"><span class="delete_single_model" data-id="${(shopClerk.id)?c}" style="background: #FF0202;">删除</span></a>
              
                </td> -->
              </tr>
  			</#list>
          </#if>
          </#if>
            </tbody>
          </table>
        </div>
    <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "/manager/ScoreRecord_scoreRecordListPage" parameterMap={"customerPhoneNum":(requestVo.customerPhoneNum)!'',"customerName":(requestVo.customerName)!'',"purchaseSaleOutOrderNumber":(requestVo.purchaseSaleOutOrderNumber)!'' } /> 
</div>
<script type="text/javascript">
$(document).ready(function(){
	
	 
});
</script>
</body>
</html>

